Opening
a File with mmioOpen
To open a
file for basic I/O operations, set the lpmmioinfo parameter of the mmioOpen
HMMIO hFile;
if ((hFile =
mmioOpen("C:\\SAMPLES\\SAMPLE1.TXT", NULL,
MMIO_READ)) != NULL)
// File
opened successfully.
else
// File
cannot be opened.
Use the dwFlags
parameter of mmioOpen